package com.heima.model.user.pojos;


import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * APP用户搜索信息表
 *
 * @TableName ap_user_search
 */
@TableName(value = "ap_user_search")
@Data
public class ApUserSearch implements Serializable {
    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
    /**
     * 主键
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Object id;
    /**
     * 用户ID
     */
    @TableField(value = "entry_id")
    private Object entryId;
    /**
     * 搜索词
     */
    @TableField(value = "keyword")
    private String keyword;
    /**
     * 当前状态0 无效 1有效
     */
    @TableField(value = "status")
    private Integer status;
    /**
     * 创建时间
     */
    @TableField(value = "created_time")

    private Date createdTime;
}